package dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractOrder entity provides the base persistence definition of the Order
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrder implements java.io.Serializable {

	// Fields

	private Integer orderid;
	private Shangji shangji;
	private Yunjia yunjia;
	private User user;
	private String ordercode;
	private String consineeinfo;
	private String notifyinfo;
	private Date submitdate;
	private String yunshuunit;
	private Integer unitnum;
	private String bizhong;
	private Integer totalprice;
	private String totalnum;
	private String totalsize;
	private String totalweight;
	private String orderinfo;
	private String orderstatus;
	private Set items = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractOrder() {
	}

	/** minimal constructor */
	public AbstractOrder(User user, String ordercode, String consineeinfo,
			String notifyinfo, Date submitdate, String yunshuunit,
			Integer unitnum, String bizhong, Integer totalprice,
			String totalnum, String totalsize, String totalweight,
			String orderstatus) {
		this.user = user;
		this.ordercode = ordercode;
		this.consineeinfo = consineeinfo;
		this.notifyinfo = notifyinfo;
		this.submitdate = submitdate;
		this.yunshuunit = yunshuunit;
		this.unitnum = unitnum;
		this.bizhong = bizhong;
		this.totalprice = totalprice;
		this.totalnum = totalnum;
		this.totalsize = totalsize;
		this.totalweight = totalweight;
		this.orderstatus = orderstatus;
	}

	/** full constructor */
	public AbstractOrder(Shangji shangji, Yunjia yunjia, User user,
			String ordercode, String consineeinfo, String notifyinfo,
			Date submitdate, String yunshuunit, Integer unitnum,
			String bizhong, Integer totalprice, String totalnum,
			String totalsize, String totalweight, String orderinfo,
			String orderstatus, Set items) {
		this.shangji = shangji;
		this.yunjia = yunjia;
		this.user = user;
		this.ordercode = ordercode;
		this.consineeinfo = consineeinfo;
		this.notifyinfo = notifyinfo;
		this.submitdate = submitdate;
		this.yunshuunit = yunshuunit;
		this.unitnum = unitnum;
		this.bizhong = bizhong;
		this.totalprice = totalprice;
		this.totalnum = totalnum;
		this.totalsize = totalsize;
		this.totalweight = totalweight;
		this.orderinfo = orderinfo;
		this.orderstatus = orderstatus;
		this.items = items;
	}

	// Property accessors

	public Integer getOrderid() {
		return this.orderid;
	}

	public void setOrderid(Integer orderid) {
		this.orderid = orderid;
	}

	public Shangji getShangji() {
		return this.shangji;
	}

	public void setShangji(Shangji shangji) {
		this.shangji = shangji;
	}

	public Yunjia getYunjia() {
		return this.yunjia;
	}

	public void setYunjia(Yunjia yunjia) {
		this.yunjia = yunjia;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getOrdercode() {
		return this.ordercode;
	}

	public void setOrdercode(String ordercode) {
		this.ordercode = ordercode;
	}

	public String getConsineeinfo() {
		return this.consineeinfo;
	}

	public void setConsineeinfo(String consineeinfo) {
		this.consineeinfo = consineeinfo;
	}

	public String getNotifyinfo() {
		return this.notifyinfo;
	}

	public void setNotifyinfo(String notifyinfo) {
		this.notifyinfo = notifyinfo;
	}

	public Date getSubmitdate() {
		return this.submitdate;
	}

	public void setSubmitdate(Date submitdate) {
		this.submitdate = submitdate;
	}

	public String getYunshuunit() {
		return this.yunshuunit;
	}

	public void setYunshuunit(String yunshuunit) {
		this.yunshuunit = yunshuunit;
	}

	public Integer getUnitnum() {
		return this.unitnum;
	}

	public void setUnitnum(Integer unitnum) {
		this.unitnum = unitnum;
	}

	public String getBizhong() {
		return this.bizhong;
	}

	public void setBizhong(String bizhong) {
		this.bizhong = bizhong;
	}

	public Integer getTotalprice() {
		return this.totalprice;
	}

	public void setTotalprice(Integer totalprice) {
		this.totalprice = totalprice;
	}

	public String getTotalnum() {
		return this.totalnum;
	}

	public void setTotalnum(String totalnum) {
		this.totalnum = totalnum;
	}

	public String getTotalsize() {
		return this.totalsize;
	}

	public void setTotalsize(String totalsize) {
		this.totalsize = totalsize;
	}

	public String getTotalweight() {
		return this.totalweight;
	}

	public void setTotalweight(String totalweight) {
		this.totalweight = totalweight;
	}

	public String getOrderinfo() {
		return this.orderinfo;
	}

	public void setOrderinfo(String orderinfo) {
		this.orderinfo = orderinfo;
	}

	public String getOrderstatus() {
		return this.orderstatus;
	}

	public void setOrderstatus(String orderstatus) {
		this.orderstatus = orderstatus;
	}

	public Set getItems() {
		return this.items;
	}

	public void setItems(Set items) {
		this.items = items;
	}

}